From: Ken Raeburn Date: Tue, 16 Jul 2002 19:49:00 +0000 (+0000) Subject: (emacs_open, set_file_times): String pointer args now X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31579 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e23e50ccd92c7049e04f2706fc988426bd3d206a;p=emacs.git (emacs_open, set_file_times): String pointer args now point to const. --- diff --git a/src/sysdep.c b/src/sysdep.c index 9b49f72b4eb..8b8aa0b8c98 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -3262,7 +3262,7 @@ strerror (errnum) int emacs_open (path, oflag, mode) - char *path; + const char *path; int oflag, mode; { register int rtnval; @@ -3685,7 +3685,7 @@ readdirver (dirp) int set_file_times (filename, atime, mtime) - char *filename; + const char *filename; EMACS_TIME atime, mtime; { #ifdef HAVE_UTIMES